from django.urls import path
from rest_framework.routers import SimpleRouter

from . import views

router = SimpleRouter(trailing_slash=False)
router.register('vehicle-terminals', views.VehicleTerminalViewSet)
router.register('vcts', views.VehicleCompanyTerminalViewSet)
router.register('drivers', views.DriverViewSet)
router.register('companies',views.CompanyViewSet)
urlpatterns = router.urls
